package com.aiyige.model;

import java.util.List;

public class UserCertification {
    public static final String USER_TYPE_PERSONAL = "personal";
    public static final String USER_TYPE_ORGANIZATION = "organization";
    public static final int STATUS_WAITING_AUTHENTICATION = 0;
    public static final int STATUS_AUTHENTICATION_SUCCESS = 1;
    public static final int STATUS_AUTHENTICATION_FAILED = 2;
    String id;
    String type;
    String userId;
    Content content;
    long createTime;
    long updateTime;
    long auditTime;
    String auditor;
    String auditorIp;
    List<String> auditMsg;
    int auditStatus;

    public UserCertification() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Content getContent() {
        return content;
    }

    public void setContent(Content content) {
        this.content = content;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public long getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(long auditTime) {
        this.auditTime = auditTime;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public String getAuditorIp() {
        return auditorIp;
    }

    public void setAuditorIp(String auditorIp) {
        this.auditorIp = auditorIp;
    }

    public List<String> getAuditMsg() {
        return auditMsg;
    }

    public void setAuditMsg(List<String> auditMsg) {
        this.auditMsg = auditMsg;
    }

    public int getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(int auditStatus) {
        this.auditStatus = auditStatus;
    }

    public static class Content {
        String companyName;
        String businessLicenseUrl;
        String IDCardHoldUrl;
        String IDCardFrontUrl;
        String IDCardBackUrl;
        String IDCardName;
        String IDCardNo;

        public Content() {
        }

        public String getCompanyName() {
            return companyName;
        }

        public void setCompanyName(String companyName) {
            this.companyName = companyName;
        }

        public String getBusinessLicenseUrl() {
            return businessLicenseUrl;
        }

        public void setBusinessLicenseUrl(String businessLicenseUrl) {
            this.businessLicenseUrl = businessLicenseUrl;
        }

        public String getIDCardHoldUrl() {
            return IDCardHoldUrl;
        }

        public void setIDCardHoldUrl(String IDCardHoldUrl) {
            this.IDCardHoldUrl = IDCardHoldUrl;
        }

        public String getIDCardFrontUrl() {
            return IDCardFrontUrl;
        }

        public void setIDCardFrontUrl(String IDCardFrontUrl) {
            this.IDCardFrontUrl = IDCardFrontUrl;
        }

        public String getIDCardBackUrl() {
            return IDCardBackUrl;
        }

        public void setIDCardBackUrl(String IDCardBackUrl) {
            this.IDCardBackUrl = IDCardBackUrl;
        }

        public String getIDCardName() {
            return IDCardName;
        }

        public void setIDCardName(String IDCardName) {
            this.IDCardName = IDCardName;
        }

        public String getIDCardNo() {
            return IDCardNo;
        }

        public void setIDCardNo(String IDCardNo) {
            this.IDCardNo = IDCardNo;
        }
    }
}
